@ECHO OFF
@ECHO --------------------------------------------------------------------------------
@ECHO Combining *.sql files in %3 into %1
@ECHO --------------------------------------------------------------------------------

IF EXIST %2\%1 DEL /Q %2\%1

COPY %3\*.sql %2\%1.temp

RENAME %2\%1.temp %1

@ECHO ----------------------
@ECHO -------  DONE  -------
@ECHO ----------------------
